<template>
	<view class="page">
		<view class="listbox">
			<view class="item">
				<view class="avatarbox">
					<image src="https://changban.dianjingkeji.net/img/微信图片_20230817153730.jpg" mode=""></image>
				</view>
				<view class="right">
					<view class="name">
						王医生
					</view>
					<view class="content">
						我是AI营养师，我可以帮你查询食物热量，记录购买食材等
					</view>
				</view>
			</view>
			<view class="item1">
				<view class="right">
					<view class="content">
						我从超时买了馒头还有白菜
						我从超时买了馒头还有白菜我从超时买了馒头还有白菜
					</view>
				</view>
				<view class="avatarbox">
					<image src="https://changban.dianjingkeji.net/img/微信图片_20230817153730.jpg" mode=""></image>
				</view>
			</view>
		</view>
		<view class="footline">
			<view class="btn">
				按住说话
			</view>
			<view class="iconfont icon-jianpan"></view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="less" scoped>
  .page{
	  width: 750rpx;
	  box-sizing: border-box;
	  padding: 20rpx;
	  background: linear-gradient(180deg, rgba(242,248,255,1) 0%,rgba(255,255,255,0) 76%);
	  .listbox{
		  width: 100%;
		  .item{
			  width: 80%;
			  display: flex;
			  align-items: flex-start;
			  margin-top: 20rpx;
			  .avatarbox{
				  width: 100rpx;
				  height: 100rpx;
				  border-radius: 50%;
				  image{
					  width: 100%;
					  height: 100%;
					  border-radius: 50%;
				  }
			  }
			  .right{
				  width: 80%;
				  margin-left: 20rpx;
				  .content{
					  font-size: 28rpx;
					  font-weight: bold;
					  background-color: white;
					  border-radius: 14rpx;
					  padding: 20rpx;
				  }
			  }
		  }
		  .item1{
			 width: 80%;
			 display: flex;
			 align-items: flex-start;
			 margin-top: 20rpx; 
			 margin-left: 20%;
			 .avatarbox{
			 				  width: 100rpx;
			 				  height: 100rpx;
			 				  border-radius: 50%;
			 				  image{
			 					  width: 100%;
			 					  height: 100%;
			 					  border-radius: 50%;
			 				  }
			 }
			 .right{
			 				  width: 80%;
			 				  margin-right: 20rpx;
			 				  .content{
			 					  font-size: 28rpx;
			 					  font-weight: bold;
			 					  background-color: #1a4f8a;
			 					  border-radius: 14rpx;
			 					  padding: 20rpx;
								  color: white;
								  
			 				  }
			 }
		  }
	  }
	  .footline{
		  width: 750rpx;
		  position: fixed;
		  box-sizing: border-box;
		  padding:10rpx 40rpx;
		  left: 0;
		  bottom: 20rpx;
		  right: 0;
		  display: flex;
		  align-items: center;
		  justify-content: space-between;
		  .btn{
			  width: 84%;
			  height: 70rpx;
			  border: #1a4f8a 2rpx solid ;
			  color: #1a4f8a;
			  font-weight: bold;
			  text-align: center;
			  line-height: 70rpx;
			  border-radius: 30rpx;
		  }
		  .iconfont{
			  font-size: 80rpx;
			   color: #1a4f8a;
		  }
	  }
  }
</style>
